﻿@model CloudFranceTriple.Models.ForumAnnonceSet

@{
    ViewBag.Title = "Delete";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>
        @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementDeleteTitle
    </h1>
    <section>
        <h3>@CloudFranceTriple.WebRole.Properties.Resources.QuestionDelete</h3>
        <fieldset>
            <legend>ForumAnnonceSet</legend>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementText
            </div>
            <div class="display-field">
                @Html.DisplayTextFor(model => model.Text)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementShowOnHeader
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.ShowOnHeader)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementShowOnPortail
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.ShowOnPortail)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementShowOnForum
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.ShowOnForum)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementShowOnTopic
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.ShowOnTopic)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementShowOnPost
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.ShowOnPost)
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementDateBegin
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DateBegin, "TemplateUserDate")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementDateEnd
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.DateEnd, "TemplateUserDate")
            </div>

            <div class="display-label">
                @CloudFranceTriple.WebRole.Properties.Resources.AnnoncementOrder
            </div>
            <div class="display-field">
                @Html.DisplayFor(model => model.Order)
            </div>
        </fieldset>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            <p>
                <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonDelete" />
            </p>
        }
        @Html.Partial("_AnnoncementBackToList")
    </section>
</div>
